<%-- 
    Document   : Content_MuaDealDaDangNhap
    Created on : Oct 25, 2011, 3:34:26 PM
    Author     : Administrator
--%>
<%@page import="pojo.Deal"%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<link rel="stylesheet" type="text/css" href="css/payment.css" />
<link rel="stylesheet" type="text/css" href="css/login.css" />
<%
    if (session.getAttribute("Oder") == null) {
        response.sendRedirect("index.jsp");
    } else {
        Deal deal = (Deal) session.getAttribute("Oder");
%>
<script type="text/javascript">
    //<![CDATA[
    var  strBuyDeal={"id":"7F0105010C7C","giaban":"<%=deal.getGiaDaGiam()%>","slmua":"<%=deal.getSoLuongDealTrenMotNguoi()%>","status":"False"};var strStateNM='ha-noi';//]]>
</script>


<div class="div_LBodyInfo BodySignin">
    <i class="div_LBodyTop"> </i>

    <div class="div_Order">
        <div class="div_bgOrder"></div>
        <p class="pOrder styleText6"><strong>Đơn Hàng Của Bạn</strong></p>

    </div>

    <div class="div_ListOrder ">
        <div class="div_TextListOrder">
            <div class="div_STT">STT</div>
            <div class="div_TextProDV">Sản Phẩm / Dịch Vụ</div>

            <div class="div_TextSL">Số Lượng</div>
            <div class="div_TextGia">Đơn Giá</div>
            <div class="div_TextToTal">Thành Tiền</div>
        </div>
        <div id="div_MainListOrder" class="div_MainListOrder">
            <table width='100%' cellspacing='0' cellpadding='0' border='0' class='reference'>
                <tbody>
                    <tr class='trfirst'>
                        <th class='thSL' valign='top'>1</th>
                        <th class='th_TextProDV'  valign='top' align='left'>
                             <a href='xl_DealDetail?Action=view&DealID=<%=deal.getId()%>' ><%= deal.getTileSmallDeal()%></a>
                        </th>
                        <th class='th_SL' valign='top' align='left' >
          <form id="Oder" name="Oder" method="GET" action="xl_DonDatHang">
                <div class='div_txtDayDK monthDK'>
                    
                    <select autocomplete='off' id='ddlSL_0' name='ddlSL_0' class='ddlDWBirth'>
                                           <%
                                            int soLuongDealToiDaDuocMua=deal.getSoLuongDealTrenMotNguoi();
                                            if(soLuongDealToiDaDuocMua==1){%>
                                                <option value='1'selected='selected'>1</option>
                                            <%}else{%>
                                                <option value='1'selected='selected'>1</option>
                                            <%for(int i=2;i<=soLuongDealToiDaDuocMua;i++){%>
                                            <option value='<%=i%>'><%=i%></option>
                                         <%}}%>
                      </select>
                </div>
                </th>
                <th class='th_Gia' valign='top' align='center'>
                    <span id='spnGia'><%=deal.getGiaDaGiam()%> VND
                </th>
                <th class='th_Total' valign='top' align='center'>
                    <span id='spnTongGia'><%=deal.getGiaDaGiam()%> VND
                </th>
                </tr>
                </tbody>
            </table>
        </div>

        <div class="div_buttonUpdateMH ">
            <input name="txtAmount" type="hidden" id="txtAmount" disabled="disabled" value="1" />
            <p id="pTotal" class="pTotalMoney styleText15"><%=deal.getGiaDaGiam()%> VND</p><p class="pTextTotalMH styleText15">Tổng số tiền :</p>
            <div class="div_MainUpdateMH hide"><a href="javascript:void(0)" class="btnUpdateMH">Cập Nhập</a></div>
        </div>
    </div>

</div>

<div class="div_LBottomInfo"> </div>



<div class="div_Company ">
    <div class="div_TopCom"></div>
    <div class="div_bodyCom bOrderSI">
        <div style="padding-top: 20px; padding-bottom: 20px; margin-left: 65px;">
            <p id="pTitle1" class="pNotiDHMC styleText2">Bạn sẽ nhận được thẻ do nhómMua.com cung cấp sau khi thanh toán.</p>                    
            <div id="divCard" class="div_LogoDHMC"><img width='405px' height='244px' alt='H3 HOTPOT & GRILL - 09/2011' src='http://www.nhommua.net/Upload/100727/1418/voucher_small/201191711946147.jpg' /></div>
            <div id="divDieuKien" class="color21 pTitleDH" style="text-align: center; width: 556px;padding-top:10px">Bạn phải đem theo thẻ này đến NHÀ HÀNG H3 HOTPOT & GRILL để sử dụng dịch vụ!</div>
        </div>
    </div>
    <div class="div_BotCom"></div>
</div>
</div>

<!--da dang nhap-->
<div class="middle-box-white" style="overflow:hidden;">
    <div class="payment">

        <i class="title_order">Chọn phương thức thanh toán</i>
        <ul class="payment_content">

            <li class="icon_home">
                <a href="javascript:void(0);" name="" id="aPTTT_0">
                    <i class="checkbtn  checked"></i>                                                
                    <span class="img_payment "></span>
                </a>
            </li>

            <li class="box_payment " id="liPTTT_0" style="display: block;">


                <ul class="box_payment_content">
                    <li class="textbox">
                        <div class="bg_txtb"><input name="txtName_0" id="txtName_0" value="phạm minh khuê" type="text"></div>
                        <i>*</i>
                        <span>Họ và tên</span>
                    </li>
                    <li class="textbox">
                        <div class="bg_txtb"><input name="txtPhone_0" id="txtPhone_0" value="01655533550" type="text"></div>

                        <i>*</i>
                        <span>Điện thoại</span>
                    </li>
                    <li class="textbox bg_add">
                        <ul class="box_payment_content">



                            <li id="liWard_0" class="textbox ">
                                <div class="bg_txtb"><input name="txtWard_0" id="txtWard_0" type="text"></div>
                                <i>*</i>
                                <span>Địa Chỉ </span>
                            </li>     

                        </ul>

                    </li>                                                

                    <li class="textbox" style="padding:0">
                        <span style="line-height:24px;float:left;width:79px;text-align:right;">Lời nhắn</span>
                        <div class="bg_txtb textarea" style="width:auto; margin:0;"><textarea name="txtDesc_0" id="txtDesc_0" style="width: 528px;" cols="8" rows="2"></textarea></div>                                                   
                    </li>
                    <li class="textbox request">
                        <ul class="info_line">

                            <li id="dConfirm_0" style="display:none;">

                                <span>Tôi không cần nhómMua gọi điện xác nhận.</span>

                            </li>
                            <li id="dSubScribe_0" style="display:none;">
                                <input name="cbSubScribe_0" id="cbSubScribe_0" type="checkbox">
                                <span>Tôi đổng ý nhận Email giá tốt từ nhómMua.</span>
                            </li>
                        </ul>
                    </li>
                    <li class="textbox">                                                    
                        <!--a class="btn_mua_small" href="ThankYou.jsp" name="" id="btnTT_0"></a!-->
                        <input id="btnTT_0" name="" type="submit" class="btn_mua_small" value=""/>
                        <span id="eMess_0" class="payment-note"></span>
                    </li>
                </ul>
            </li>
          </form>

            <li class="icon_payoo">
                <a href="javascript:void(0)" name="" id="aPTTT_1">
                    <i class="checkbtn"></i>
                    <span class="img_payment"></span>
                </a>                                            
            </li>
            <li class="icon_nhommua">
                <a href="javascript:void(0)" name="" id="aPTTT_2">
                    <i class="checkbtn"></i>
                    <span class="img_payment "></span>
                </a>
            </li>                                       


            <li class="icon_smartlink">
                <a href="javascript:void(0)" name="" id="aPTTT_4">
                    <i class="checkbtn"></i>
                    <span class="img_payment "></span>
                </a>
            </li>                                        

            <li class="icon_visa" style="display:none">
                <a href="javascript:void(0)" name="" id="aPTTT_5">
                    <i class="checkbtn"></i>
                    <span class="img_payment "></span>
                </a>
            </li>
        </ul>
    </div>
</div>
<!--end da dang nhap-->         

<%}%>